#include "player.h"
#include "swordsman.h"
#include "mage.h"
#include "../random.h"

void Player::attack(Unit* /*u*/) {
}

Unit* Player::GetInstance(){
	if (Random::NextInt(100) < 50){
		return new Mage();
	} else {
		return new Swordsman();
	}
}
